﻿using System;
using System.Collections.Generic;
using System.Dynamic;
using System.Linq;
using System.Web;

namespace sourcephi.Models
{
    public partial class renyuan
    {
        public DTO.renyuanDTO ToDto()
        {
            return new DTO.renyuanDTO()
            {
                 sid=this.sid,
                 name=this.name,
                 loginname=this.loginname,
                 psw=this.psw,
                 roletype=this.roletype,
                 dept=this.dept,
                 post=this.post,
                 addtime=this.addtime,
                 islock=this.islock
            };
        }

    }
}